import Vue from 'vue'
import App from './App.vue'
// 导入ElementUI
import ElementUI from 'element-ui'
//引入ECharts
import ECharts from "echarts";
import 'element-ui/lib/theme-chalk/index.css'
import router from "@/router";

import echarts from "echarts/lib/echarts"
import china from 'echarts/map/json/china.json'
import store from "@/store";

echarts.registerMap('china',china)
Vue.prototype.$echarts = echarts

Vue.use(ElementUI)
Vue.prototype.$echarts = ECharts;
Vue.config.productionTip = false

new Vue({
    render: h => h(App), router, ECharts,echarts,store
}).$mount('#app')
